* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body styles removed to avoid conflict with main dashboard background */

#overview {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* .main-card styles removed — now managed centrally in Menu dashboard/style.css */
/* .main-card {
    width: 686px;
    height: auto;
    background-color: #C54D4E;
    border-radius: 30px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
} */

/* CARDS */
.card {
    background-color: #F86466;
    /* Slightly different to be visible on C54D4E */
    border-radius: 20px;
    padding: 25px;
    color: #FFFFFF;
}

.top-row {
    display: flex;
    gap: 10px;
}

.top-distractions {
    width: 288px;
    height: 195px;
    padding: 25px 40px 25px 25px;
    /* Offset from right side 40px as instructed */
    display: flex;
    flex-direction: column;
}

.lost-productivity {
    width: 203px;
    height: 197px;
    padding: 25px;
    /* Symmetrical padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
}

.extra-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 89px;
    height: 197px;
}

.small-stat-card {
    flex: 1;
    min-height: 0;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.small-card-title {
    font-weight: 900;
    font-size: 10px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.bypass-value {
    font-weight: 900;
    font-size: 60px;
    color: #FFFFFF;
    margin-top: 5px;
    line-height: 1;
}

.card-title {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* TOP DISTRACTIONS ITEMS */
.distractions-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.distraction-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.icon-box {
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.icon-box img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.social-name {
    font-weight: 600;
    font-size: 15px;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.add-btn {
    width: 25px;
    height: 25px;
    background-color: #F86466;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* LOST PRODUCTIVITY CONTENT */
.productivity-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center inner elements */
    margin-top: -10px;
}

.productivity-content .value {
    font-weight: 900;
    font-size: 71px;
    line-height: 1;
}

.productivity-content .unit {
    font-weight: 700;
    font-size: 25px;
    margin-top: 6px;
}

/* SCREEN TIME AUDIT */
.screen-time-audit {
    width: 100%;
    min-height: 300px;
    /* Reduced to fit on one screen */
    padding: 25px;
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.audit-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 9px;
    font-size: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn.active {
    background: #FFFFFF;
    color: #F86466;
    border-color: #FFFFFF;
}

.audit-title {
    font-weight: 700;
    font-size: 25px;
}

.audit-body {
    display: flex;
    justify-content: space-between;
}

.sites-summary {
    display: flex;
    flex-direction: column;
    gap: 9px;
    height: 160px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom Scrollbar for summary */
.sites-summary::-webkit-scrollbar {
    width: 35px;
}

.sites-summary::-webkit-scrollbar-track {
    background: rgba(61, 16, 16, 0.4);
    border-radius: 20px;
}

.sites-summary::-webkit-scrollbar-thumb {
    background: #FF7E80;
    border-radius: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.site-info {
    font-weight: 600;
    font-size: 15px;
}

.search-and-list {
    width: 264.12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-box {
    width: 264.12px;
    height: 37px;
    background: #FFFFFF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
}

.search-icon img {
    width: 16px;
    height: 16px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-weight: 900;
    /* extrabold */
    font-size: 15px;
    color: #333;
}

.search-box input::placeholder {
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    /* extralight */
    font-size: 15px;
    color: #A9A9A9;
    opacity: 1;
    /* For some browsers */
}

/* CUSTOM SCROLLBAR & LIST */
.websites-list-container {
    height: 160px;
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 10px;
}

/* Custom Scrollbar based on password.html */
.websites-list-container::-webkit-scrollbar {
    width: 35px;
}

.websites-list-container::-webkit-scrollbar-track {
    background: rgba(61, 16, 16, 0.4);
    border-radius: 20px;
}

.websites-list-container::-webkit-scrollbar-thumb {
    background: #FF7E80;
    border-radius: 20px;
}

.websites-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.list-item input[type="radio"] {
    appearance: none;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.list-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #F86466;
    border-radius: 50%;
}

.list-item label {
    font-weight: 600;
    font-size: 8px;
    /* Instructed size 8 */
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    /* Increased gap to ensure min 5px distance */
    width: 100%;
}

.bypass-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background-color: #9F2B2C;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}